package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_PARAM_SCHEDULE_SETTING")
@ApiModel(value = "参数-排班配置表")
public class ParamScheduleSetting extends BaseEntity {

    @ApiModelProperty(value="关区id")
    @TableField(value ="CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value="关区名")
    @TableField(value ="CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value="值班类型：1.日常班；2.节假日；3.重要日；4.周末班")
    @TableField(value ="SCHEDULE_TYPE")
    @JsonProperty(value = "dutyType")
    private String dutyType;

    @ApiModelProperty(value="值班时段ID，关联值班时段配置表PARAM_DUTY主键ID")
    @TableField(value ="PARAM_DUTY_ID")
    @JsonProperty(value = "paramDutyId")
    private String paramDutyId;

    @ApiModelProperty(value="值班时段类型：1.上午；2.下午；3.夜间；4.全天；5.其他；6.白天")
    @TableField(exist = false)
    @JsonProperty(value = "paramDutyType")
    private String paramDutyType;


}
